package com.example.thinvent;

import com.spring.Autowired;
import com.spring.Component;
import com.spring.Scope;
import com.spring.ScopeEnum;
import org.springframework.beans.factory.config.BeanDefinition;

@Component
@Scope(ScopeEnum.singleton)
public class UserService {


    @Autowired
    OrgService orgService;

    public String test(){
        orgService.test();
        System.out.println(2);
        return "用户测试";
    }


}
